:root {
  --bg: #f6f8fc;
  --surface: #ffffff;
  --soft-panel: #eef1ff;
  --soft-accent: #dfe5fb;
  --input-bg: #cfd8fb;
  --navy: #2b4275;
  --navy-deep: #223866;
  --blue: #2871df;
  --text: #172338;
  --muted: #6f7f9e;
  --line: rgba(34, 56, 102, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: #f8fafc;
  color: var(--text);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Lexend", sans-serif;
}

a {
  text-decoration: none;
}

.portal-container {
  max-width: 1280px;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid rgba(43, 66, 116, 0.05);
  animation: slide-down 0.8s var(--ease-smooth) both;
}

.brand-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.nav-link {
  color: #384766;
  font-size: 16px;
  font-weight: 500;
  font-family: "Lexend", sans-serif;
  padding: 0.5rem 0.2rem;
}

p {
  font-family: "Inter", sans-serif;
}

.nav-link.active {
  color: var(--navy);
  position: relative;
}

.nav-link.active::after {
  display: none;
}

.btn-login {
  background: var(--navy);
  color: #fff;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.btn-login:hover {
  background: #233762;
  color: #fff;
}


.brand-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid #d7a62a;
  box-shadow: inset 0 0 0 2px #fff;
  overflow: hidden;
}

.brand-badge::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px solid #2c4277;
}

.brand-badge-sm {
  width: 90px;
  height: 90px;
}

.brand-badge-md {
  width: 96px;
  height: 96px;
}

.brand-badge-xs {
  width: 54px;
  height: 54px;
  margin-bottom: 1rem;
}

.orbit,
.planet {
  position: absolute;
}

.orbit {
  border: 4px solid #d7a62a;
  border-radius: 50%;
  transform: rotate(-23deg);
}

.planet {
  border-radius: 50%;
  background: linear-gradient(180deg, #274378, #1d3158);
}

.orbit-sm {
  width: 52px;
  height: 20px;
}

.planet-sm {
  width: 24px;
  height: 24px;
}

.orbit-md {
  width: 56px;
  height: 22px;
}

.planet-md {
  width: 26px;
  height: 26px;
}

.orbit-xs {
  width: 30px;
  height: 12px;
  border-width: 3px;
}

.planet-xs {
  width: 14px;
  height: 14px;
}

.brand-text-mini {
  position: absolute;
  bottom: 16px;
  font-size: 8px;
  letter-spacing: 0.28em;
  color: #203866;
  font-weight: 700;
}

.portal-main {
  padding: 56px 0;
  min-height: 0;
}

.portal-grid {
  align-items: center;
}

.hero-section .portal-container {
  max-width: 100%;
  padding-left: 0;
  padding-right: 24px;
}

@media (min-width: 1200px) {
  .portal-grid {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: nowrap;
    column-gap: clamp(28px, 3.2vw, 56px);
  }

  .portal-grid > .col-xl-7,
  .portal-grid > .col-xl-5 {
    width: auto;
  }

  .portal-grid > .col-xl-7 {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 520px - clamp(28px, 3.2vw, 56px));
  }

  .portal-grid > .col-xl-5 {
    flex: 0 0 520px;
    max-width: 520px;
    padding-right: 28px;
  }

  .info-panel {
    width: 100%;
    max-width: none;
  }

  .login-area {
    padding-top: 56px;
    padding-left: 0;
    align-items: flex-start;
    width: 100%;
    margin-left: 0;
  }

  .login-card {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .help-link {
    margin-left: 0;
  }
}

.info-panel {
  position: relative;
  min-height: 940px;
  border-radius: 0 150px 150px 0;
  background: linear-gradient(180deg, #edf1ff 0%, #edf1ff 100%);
  box-shadow: 0 6px 12px rgba(24, 36, 64, 0.18);
  overflow: hidden;
}

.info-panel::before,
.info-panel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(221, 226, 249, 0.72);
}

.info-panel::before {
  width: 510px;
  height: 510px;
  right: -70px;
  bottom: -70px;
}

.info-panel::after {
  width: 420px;
  height: 420px;
  right: 90px;
  bottom: -170px;
  opacity: 0.56;
}

.info-panel-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
}

.info-copy {
  position: relative;
  z-index: 1;
  padding: 150px 88px 110px 96px;
}

.info-copy h1 {
  margin: 0;
  font-size: 72px;
  line-height: 1.05;
  font-weight: 400;
  color: var(--navy);
  letter-spacing: -0.04em;
}

.info-copy h1 span {
  display: block;
  color: var(--blue);
}

.section-kicker {
  margin: 66px 0 44px;
  color: #101827;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.instruction-row {
  display: grid;
  grid-template-columns: 46px 1fr;
  margin-bottom: 38px;
}

.instruction-index {
  color: rgba(23, 35, 56, 0.42);
  font-size: 20px;
  font-weight: 500;
}

.instruction-row h2 {
  margin: 0 0 10px;
  color: #273f72;
  font-size: 20px;
  font-weight: 700;
}

.instruction-row p {
  max-width: 560px;
  margin: 0;
  color: #181f2e;
  font-size: 17px;
  line-height: 1.8;
}

.login-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 56px;
}

.login-card {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  padding: 36px 44px 42px;
  background: #fff;
  border-radius: 34px;
  box-shadow: 0 14px 24px rgba(26, 39, 67, 0.18), 0 2px 3px rgba(0, 0, 0, 0.16);
}

.login-card h2 {
  margin: 0;
  color: #243d6d;
  font-size: 29px;
  font-weight: 700;
}

.login-logo {
  width: 54px;
  height: 54px;
  margin-bottom: 1rem;
  object-fit: contain;
}

.login-subtitle {
  margin: 8px 0 34px;
  color: #4f6795;
  font-size: 16px;
}

.portal-form .form-label {
  margin-bottom: 12px;
  color: #32466e;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.input-shell {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  padding: 0 18px;
  min-height: 67px;
  border-radius: 14px;
  background: #d3dcff;
}

.input-shell i {
  color: #677fa8;
  font-size: 22px;
}

.input-prefix {
  color: #677fa8;
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
}

.form-control {
  border: 0;
  padding: 0;
  background: transparent;
  color: #31446d;
  font-size: 17px;
  box-shadow: none;
}

.form-control::placeholder {
  color: rgba(49, 68, 109, 0.6);
}

.form-control:focus {
  background: transparent;
  color: #31446d;
  box-shadow: none;
}

.otp-btn {
  width: 100%;
  min-height: 68px;
  border: 0;
  border-radius: 13px;
  background: #2d4475;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  box-shadow: 0 12px 24px rgba(44, 67, 115, 0.2);
}

.otp-btn:hover {
  background: #243863;
  color: #fff;
}

.otp-btn i {
  margin-left: 6px;
  font-size: 19px;
}

.alternate-block {
  margin-top: 42px;
}

.divider-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.divider-label span {
  flex: 1;
  height: 1px;
  background: #e6eaf4;
}

.divider-label strong {
  color: #657cad;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.alt-role {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  border-radius: 12px;
  background: #f2f5ff;
  color: #2464d8;
  font-size: 14px;
  font-weight: 500;
}

.alt-role:hover {
  background: #e8eeff;
  color: #1f59c5;
}

.terms-copy {
  max-width: 300px;
  margin: 48px auto 0;
  color: #556b96;
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
}

.terms-copy a {
  color: #0557d8;
}

.help-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 28px auto 0;
  padding: 0 12px;
  color: #5a73a1;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
}


.site-footer {
  margin-top: 88px;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.92);
  padding-top: 76px;
  animation: fade-up 1s var(--ease-smooth) 0.2s both;
}

.footer-top {
  padding-bottom: 42px;
  justify-content: center;
  text-align: center;
}

.footer-column {
  position: relative;
}

.footer-divider::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: rgba(255, 255, 255, 0.42);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  justify-content: center;
}

.footer-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.site-footer h4 {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
  text-align: left;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.footer-links li + li {
  margin-top: 14px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
}

.social-links {
  display: flex;
  gap: 14px;
  justify-content: flex-start;
}

.social-links a {
  width: 42px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.45rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.38);
  text-align: center;
  padding: 24px 0 28px;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slide-down {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zoom-soft {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slide-in-left {
  from {
    opacity: 0;
    transform: translateX(-36px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slide-in-right {
  from {
    opacity: 0;
    transform: translateX(36px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    padding-top: 1rem;
  }

  .navbar-nav {
    align-items: flex-start !important;
  }

  .nav-link {
    display: inline-block;
    padding-left: 0;
    padding-right: 0;
  }

  .nav-link.active::after {
    left: 0;
    right: auto;
    margin: 0;
  }

  .btn-login {
    display: inline-flex;
    margin-top: 1rem;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy h1,
  .hero-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .updates-block {
    padding-left: 0;
  }

  .panel-card {
    padding: 54px 24px 60px;
  }

  .footer-top {
    justify-content: flex-start;
    text-align: left;
  }

  .footer-brand {
    justify-content: flex-start;
  }

  .site-footer h4,
  .footer-links {
    text-align: left;
  }

  .social-links {
    justify-content: flex-start;
  }
}

@media (max-width: 767.98px) {
  .hero-section .portal-container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .portal-grid {
    justify-content: center;
    row-gap: 28px;
  }

  .portal-grid > [class*="col-"] {
    width: 100%;
  }

  .info-panel,
  .login-area,
  .login-card {
    width: 100%;
    max-width: 100%;
  }

  .login-area {
    align-items: center;
    padding-top: 0;
  }

  .help-link {
    justify-content: center;
    text-align: center;
    width: 100%;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .club-banner {
    min-height: auto;
  }

  .club-banner img {
    height: auto;
    min-height: 320px;
    object-fit: cover;
    object-position: center;
  }

  .site-footer {
    margin-top: 56px;
    padding-top: 52px;
  }

  .footer-brand {
    font-size: 1.35rem;
  }

  .footer-top {
    padding-bottom: 24px;
  }

  .footer-divider::before {
    display: none;
  }
}

@media (max-width: 620px) {
  .portal-main {
    padding: 40px 0 48px;
  }

  .info-panel {
    display: flex;
    align-items: center;
    border-radius: 28px;
  }

  .info-copy {
    width: 100%;
    padding: 40px 20px 36px;
  }

  .info-copy h1 {
    font-size: 52px;
    line-height: 1.08;
  }

  .section-kicker {
    margin: 30px 0 22px;
    font-size: 13px;
    letter-spacing: 0.16em;
  }

  .instruction-row {
    grid-template-columns: 34px 1fr;
    margin-bottom: 24px;
  }

  .instruction-index {
    font-size: 18px;
  }

  .instruction-row h2 {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .instruction-row p {
    font-size: 14px;
    line-height: 1.7;
  }

  .login-card {
    padding: 28px 20px 30px;
    border-radius: 26px;
  }

  .login-logo {
    width: 48px;
    height: 48px;
    margin-bottom: 0.85rem;
  }

  .login-card h2 {
    font-size: 24px;
  }

  .login-subtitle {
    margin: 6px 0 26px;
    font-size: 15px;
  }

  .portal-form .form-label {
    font-size: 12px;
    letter-spacing: 0.14em;
  }

  .input-shell {
    min-height: 58px;
    margin-bottom: 24px;
    padding: 0 14px;
  }

  .input-prefix {
    font-size: 24px;
  }

  .form-control {
    font-size: 15px;
  }

  .otp-btn {
    min-height: 58px;
    font-size: 16px;
  }

  .alternate-block {
    margin-top: 30px;
  }

  .divider-label {
    margin-bottom: 18px;
    gap: 10px;
  }

  .divider-label strong {
    font-size: 10px;
    letter-spacing: 0.16em;
  }

  .alt-role {
    min-height: 48px;
    font-size: 13px;
  }

  .terms-copy,
  .help-link {
    font-size: 13px;
  }
}
